﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ReadFromXML.aspx.cs" Inherits="XML_ReadFromXML" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:GridView ID="grdxml" runat="server" AutoGenerateColumns="false">
            <Columns>
                <asp:BoundField HeaderText="Id" DataField="id" />
                <asp:BoundField HeaderText="User ID" DataField="userid" />
                <asp:BoundField HeaderText="Log Type" DataField="logtype" />
                <asp:BoundField HeaderText="Log Message" DataField="logmesg" />
                <asp:BoundField HeaderText="Page Name" DataField="pagename" />
                <asp:BoundField HeaderText="Ip Address" DataField="ipaddr" />
                <asp:BoundField HeaderText="Date" DataField="datetime" DataFormatString="{0:dd/MM/yyyy}"  HtmlEncode="false" />
            </Columns>
        </asp:GridView>
        <asp:DropDownList ID="DropDownList1" runat="server">
        </asp:DropDownList>
    </div>
    </form>
</body>
</html>
